package com.atguigu.spzx.user.client.fallback;

import com.atguigu.spzx.model.vo.common.Result;
import com.atguigu.spzx.model.vo.common.ResultCodeEnum;
import com.atguigu.spzx.user.client.UserClient;
import org.springframework.stereotype.Component;

@Component
public class UserClientFallback implements UserClient {
    @Override
    public Result getUserAddress(Long id) {
        return Result.setResult(ResultCodeEnum.ERROR,null);
    }
}
